<div class="messages" ng-init="initMessages()" style="margin: -20px -20px 0 -20px;">
  
  
  <div class="menu clearfix">
     <a class="pull-left" href="#/tasks"><span class="ionic-icon ion-ios-home"></span></a>
     <a class="pull-right" href="#/profile"><span class="ionic-icon ion-person"></span></a>
   </div>
  
  <div class="list-warp" ng-show="messages.length == 0">
    <p class="text-center" style="padding: 100px;">暂无消息</p>
  </div>
  
  <div class="list-warp" ng-hide="messages.length == 0">
    <ul class="list">
      <li class="item" ng-repeat="message in messages">
        <p class="content">{{message.content}}</p>
        <p class="text-right date">{{message.createTime | date:'yyyy-MM-dd HH:mm:ss'}}</p>
      </li>
     </ul>
  </div>
  
</div>
